package com.lee.springboot.logback;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Lee
 */
@Slf4j
@RestController
@RequestMapping("api/logback")
public class LogbackController {

    @RequestMapping("execute")
    public void execute(){
        log.debug("debug级别日志...");
        log.info("info级别的日志...");
        log.warn("warn级别的日志...");
        log.error("error级别的日志...");
    }
}
